package com.byzk.p2p.admin.borrow.dao;

import java.util.List;
import java.util.Map;

import com.byzk.p2p.admin.borrow.dto.Guarantee;

public interface GuaranteeDao {
	public List<Guarantee> listByParam(Map<String, Object> param);

	public int countByParam(Map<String, Object> param);

	public int insert(Guarantee guarantee);

	public int update(Guarantee guarantee);

	public int delete(Integer id);

	public Guarantee getById(Integer id);
	
	public List<Guarantee> listAll();
}
